import math
i=int(input_raw("Input a number:\"))
temp=math.sqrt(i)
if temp in range(1,50):
	print temp
else:
	break